Quiet a compiler warning
authorMatthias Clasen <mclasen@redhat.com>
Thu, 19 Jul 2018 21:31:20 +0000 (17:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 19 Jul 2018 21:48:06 +0000 (17:48 -0400)
We don't need to handle GDK_CONFIGURE here, so make the
compiler not warn about it.

gtk/gtkmain.c

index d92523a90dd1c65204c9bec73f8b4d6fcec16672..3732857ab72bdea3e8bfc692ef4dae1e3827e68b 100644 (file)
@@ -1796,7 +1796,7 @@ gtk_main_do_event (GdkEvent *event)
    * Drag events are also not redirected, since it isn't
    * clear what the semantics of that would be.
    */
-  switch (event->any.type)
+  switch ((guint)event->any.type)
     {
     case GDK_NOTHING:
       break;